package com.huiqiao.lesson6.di;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AutowiredBeanConfig {

    @Bean
    public AutowiredBean hqAutowiredBean() {
        AutowiredBean bean = new AutowiredBean();
        bean.setName("hqAutowiredBean");
        return bean;
    }
}
